-- GENERATED SPELL FOR [Primalist Mulfort] --


function spell0_31053(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15284,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31053', 639, 1)
end

function Sorts_31053(pUnit, Event)
local choix_sorts_31053 = math.random(0, 0)
if choix_sorts_31053 == 0 then
pUnit:RegisterEvent('spell0_31053', 1, 1)
end
end

function mob31053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31053', math.random(1500, 3000), 1)
end

function mob31053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31053, 1, 'mob31053_Action')
RegisterUnitEvent(31053, 2, 'mob31053_Leave')
RegisterUnitEvent(31053, 3, 'mob31053_Kill')
RegisterUnitEvent(31053, 4, 'mob31053_Die')
